@{block #content}

<div class="celebrioweatherapp_contents">
    <div class="celebrioweatherapp_header">
        <div class="celebrioweatherapp_header_left"><h1>Weather</h1></div>
        <!--<div class="celebrioweatherapp_header_right">
            <div id="celebrioweatherapp_cityFinder">
                <form id="celebrioweatherapp_homeWeather">
                    <input type="submit" value="Home" />
                </form>
                <form>
                    <label class="undisplayed" for="cityfield">{!_"Search for city:"}</label>
                    <input id="celebrioweatherapp_cityField" name="cityfield" type="text" placeholder="{!_'search for city'}" />
                    <input type="submit" value="Find" />
                </form>
                <div class="celebrioweatherapp_cityNotFound">
                    <p>
                        {if isset($errorLocation)}
                            {$errorLocation}
                        {/if}
                    </p>
                </div>
            </div>
            <div class="celebrioweatherapp_cb" ></div>
        </div>
        <div class="celebrioweatherapp_cb" ></div>-->
    </div>
    <div id="celebrioweatherapp_body">
    {if isset($currentConditions)}
    <div class="celebrioweatherapp_block celebrioweatherapp_current">
        <h2>{_"%s",$currentTime}</h2>
        <img src="{$currentConditions->weatherIconUrl}" />
        <span class="celebrioweatherapp_c_temp">{$currentConditions->temp_C}&deg;</span>
        <span class="celebrioweatherapp_c_text">{$currentConditions->weatherDesc}</span>
    </div>
    {/if}
    {if isset($forecast)}
    {if isset($forecast[0])}
    <div class="celebrioweatherapp_block">
        <h2>{!_"Today"}</h2>
        <img src="{$forecast[0]->weatherIconUrl}" />
        <span class="celebrioweatherapp_c_temp">-20&deg;</span>
        <!--<span class="celebrioweatherapp_high">{$forecast[0]->tempMaxC} &deg;C</span>
        <span class="celebrioweatherapp_low">{$forecast[0]->tempMinC}&deg;C</span>-->
        <span class="celebrioweatherapp_text">{$forecast[0]->weatherDesc}</span>
    </div>
    {/if}
    {if isset($forecast[1])}
    <div class="celebrioweatherapp_block">
        <h2>{!_"Tomorrow"}</h2>
        <img src="{$forecast[1]->weatherIconUrl}" />
        <span class="celebrioweatherapp_c_temp">-18&deg;</span>
        <!--
        <span class="celebrioweatherapp_high">{$forecast[1]->tempMaxC} &deg;C</span>
        <span class="celebrioweatherapp_low">{$forecast[1]->tempMinC}&deg;C</span>-->
        <span class="celebrioweatherapp_text">{$forecast[1]->weatherDesc}</span>
    </div>
    {/if}
    {if isset($forecast[2])}
    <div class="celebrioweatherapp_block">
        <h2>{$forecast[2]->date}</h2>
        <img src="{$forecast[2]->weatherIconUrl}" />
        <span class="celebrioweatherapp_c_temp">-9&deg;</span>
        <!--
        <span class="celebrioweatherapp_high">{$forecast[2]->tempMaxC} &deg;C</span>
        <span class="celebrioweatherapp_low">{$forecast[2]->tempMinC}&deg;C</span>-->
        <span class="celebrioweatherapp_text">{$forecast[2]->weatherDesc}</span>
    </div>
    {/if}
    {if isset($forecast[3])}
    <div class="celebrioweatherapp_block">
        <h2>{$forecast[3]->date}</h2>
        <img src="{$forecast[3]->weatherIconUrl}" />
<span class="celebrioweatherapp_c_temp">-11&deg;</span>
        <!--
        <span class="celebrioweatherapp_high">{$forecast[3]->tempMaxC} &deg;C</span>
        <span class="celebrioweatherapp_low">{$forecast[3]->tempMinC}&deg;C</span>-->
        <span class="celebrioweatherapp_text">{$forecast[3]->weatherDesc}</span>
    </div>
    {/if}
    {if isset($forecast[4])}
    <div class="celebrioweatherapp_block">
        <h2>{$forecast[4]->date}</h2>
        <img src="{$forecast[4]->weatherIconUrl}" />
<span class="celebrioweatherapp_c_temp">-17&deg;</span>
        <!--
        <span class="celebrioweatherapp_high">{$forecast[4]->tempMaxC} &deg;C</span>
        <span class="celebrioweatherapp_low">{$forecast[4]->tempMinC}&deg;C</span>-->
        <span class="celebrioweatherapp_text">{$forecast[4]->weatherDesc}</span>
    </div>
    {/if}
    {/if}
    </div>
</div>
{/block}